﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using DevExpress.XtraBars;

namespace SagiShop
{
    public partial class MainForm : DevExpress.XtraBars.Ribbon.RibbonForm
    {
        public MainForm()
        {
            InitializeComponent();
        }

        private void barButtonItem1_ItemClick(object sender, ItemClickEventArgs e)
        {
            Modules.ModuleBanHang.ScreenBanHang sBH = new Modules.ModuleBanHang.ScreenBanHang();
            sBH.MdiParent = this;
            sBH.Show();
        }

        private void btnThongTinChung_ItemClick_1(object sender, ItemClickEventArgs e)
        {
            Modules.ModuleQuanLy.ScreenTTChiNhanh sTTCN = new Modules.ModuleQuanLy.ScreenTTChiNhanh();
            sTTCN.MdiParent = this;
            sTTCN.Show();
        }

        private void btnDoanhThuNgay_ItemClick(object sender, ItemClickEventArgs e)
        {
            Modules.ModuleBanHang.ScreenDoanhThuNgay sDTN = new Modules.ModuleBanHang.ScreenDoanhThuNgay();
            sDTN.MdiParent = this;
            sDTN.Show();
        }

        private void btnHinhThucThanhToan_ItemClick(object sender, ItemClickEventArgs e)
        {
            Modules.ModuleBanHang.ScreenHinhThucThanhToan sHTTT = new Modules.ModuleBanHang.ScreenHinhThucThanhToan();
            sHTTT.MdiParent = this;
            sHTTT.Show();
        }

        private void btnTTLoaiHangHoa_ItemClick(object sender, ItemClickEventArgs e)
        {
            Modules.ModuleKho.ScreenLoaiHangHoa sLHH = new Modules.ModuleKho.ScreenLoaiHangHoa();
            sLHH.MdiParent = this;
            sLHH.Show();
        }

        private void btnTTLoaiKhachHang_ItemClick(object sender, ItemClickEventArgs e)
        {
            Modules.ModuleKhachHang.ScreenLoaiKhachHang sLKH = new Modules.ModuleKhachHang.ScreenLoaiKhachHang();
            sLKH.MdiParent = this;
            sLKH.Show();
        }

        private void btnNhatKyBanHang_ItemClick(object sender, ItemClickEventArgs e)
        {
            Modules.ModuleBanHang.ScreenNhatKyBanHang sNKBH = new Modules.ModuleBanHang.ScreenNhatKyBanHang();
            sNKBH.MdiParent = this;
            sNKBH.Show();
        }

        private void tbnDonHangNo_ItemClick(object sender, ItemClickEventArgs e)
        {
            Modules.ModuleBanHang.ScreenDonHangNo sDHN = new Modules.ModuleBanHang.ScreenDonHangNo();
            sDHN.MdiParent = this;
            sDHN.Show();
        }

        private void btnNhapKho_ItemClick(object sender, ItemClickEventArgs e)
        {
            Modules.ModuleKho.ScreenNhapKho sNK = new Modules.ModuleKho.ScreenNhapKho();
            sNK.MdiParent = this;
            sNK.Show();
        }

        private void barButtonItem21_ItemClick(object sender, ItemClickEventArgs e)
        {
            demo ds = new demo();
            ds.MdiParent = this;
            ds.Show();
        }

        private void btnNhapKhoNhanh_ItemClick(object sender, ItemClickEventArgs e)
        {
            Modules.ModuleKho.ScreenNhapKhoNhanh sNKN = new Modules.ModuleKho.ScreenNhapKhoNhanh();
            sNKN.MdiParent = this;
            sNKN.Show();
        }

        private void btnQuanLyKho_ItemClick(object sender, ItemClickEventArgs e)
        {
            Modules.ModuleKho.ScreenQuanLyKho sQLK = new Modules.ModuleKho.ScreenQuanLyKho();
            sQLK.MdiParent = this;
            sQLK.Show();
        }

        private void btnTTDieuChinhKho_ItemClick(object sender, ItemClickEventArgs e)
        {
            Modules.ModuleKho.ScreenTTDieuCHinhKho sTTDCK = new Modules.ModuleKho.ScreenTTDieuCHinhKho();
            sTTDCK.MdiParent = this;
            sTTDCK.Show();
        }

        private void btnNhatKyXuatNhapKho_ItemClick(object sender, ItemClickEventArgs e)
        {
            Modules.ModuleKho.ScreenNhatKyXNKho sNKSNK = new Modules.ModuleKho.ScreenNhatKyXNKho();
            sNKSNK.MdiParent = this;
            sNKSNK.Show();
        }

        private void btnXuatKho_ItemClick(object sender, ItemClickEventArgs e)
        {
            Modules.ModuleKho.ScreenXuatKho sXK = new Modules.ModuleKho.ScreenXuatKho();
            sXK.MdiParent = this;
            sXK.Show();
        }

        private void btnThemKhachHang_ItemClick(object sender, ItemClickEventArgs e)
        {
            Modules.ModuleKhachHang.ScreenThemKhachHang sTKH = new Modules.ModuleKhachHang.ScreenThemKhachHang();
            sTKH.MdiParent = this;
            sTKH.Show();
        }

        private void btnQuanLyKhachHang_ItemClick(object sender, ItemClickEventArgs e)
        {
            Modules.ModuleKhachHang.ScreenQuanLyKhachHang sQLKH = new Modules.ModuleKhachHang.ScreenQuanLyKhachHang();
            sQLKH.MdiParent = this;
            sQLKH.Show();
        }

        private void btnNhatKyKhachHang_ItemClick(object sender, ItemClickEventArgs e)
        {
            Modules.ModuleKhachHang.ScreenNhatKyKhachHang sNKKH = new Modules.ModuleKhachHang.ScreenNhatKyKhachHang();
            sNKKH.MdiParent = this;
            sNKKH.Show();
        }

        private void btnNoKhachHang_ItemClick(object sender, ItemClickEventArgs e)
        {
            Modules.ModuleKhachHang.ScreenNoKhachHang sNKH = new Modules.ModuleKhachHang.ScreenNoKhachHang();
            sNKH.MdiParent = this;
            sNKH.Show();
        }

        private void btnLoaiPhieu_ItemClick(object sender, ItemClickEventArgs e)
        {
            Modules.ModuleQuanLy.ScreenLoaiPhieu sLP = new Modules.ModuleQuanLy.ScreenLoaiPhieu();
            sLP.MdiParent = this;
            sLP.Show();
        }

        private void btnTTNhanVien_ItemClick(object sender, ItemClickEventArgs e)
        {
            Modules.ModuleQuanLy.ScreenTTNhanVien sTTNV = new Modules.ModuleQuanLy.ScreenTTNhanVien();
            sTTNV.MdiParent = this;
            sTTNV.Show();
        }

        private void btnQuanLyNhanVien_ItemClick(object sender, ItemClickEventArgs e)
        {
            Modules.ModuleQuanLy.ScreenQuanLyNhanVien sQLNV = new Modules.ModuleQuanLy.ScreenQuanLyNhanVien();
            sQLNV.MdiParent = this;
            sQLNV.Show();
        }

        private void btnQUanLyThuChi_ItemClick(object sender, ItemClickEventArgs e)
        {
            Modules.ModuleQuanLy.ScreenQuanLyThuChi sQLTH = new Modules.ModuleQuanLy.ScreenQuanLyThuChi();
            sQLTH.MdiParent = this;
            sQLTH.Show();
        }

        private void btnPhieuThu_ItemClick(object sender, ItemClickEventArgs e)
        {
            Modules.ModuleQuanLy.ScreenPhieuThu sPT = new Modules.ModuleQuanLy.ScreenPhieuThu();
            sPT.MdiParent = this;
            sPT.Show();
        }

        private void btnPhieuCHi_ItemClick(object sender, ItemClickEventArgs e)
        {
            Modules.ModuleQuanLy.ScreenPhieuChi sPC = new Modules.ModuleQuanLy.ScreenPhieuChi();
            sPC.MdiParent = this;
            sPC.Show();
        }
    }
}